/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package uit.qlks.from;

import java.rmi.RemoteException;
import javax.naming.NamingException;

/**
 *
 * @author SVN - Team
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws NamingException, RemoteException {
        // TODO code application logic here
        
        frmMain frm=new frmMain();
        frm.setVisible(true);
//        try{
//        Context ctx = new InitialContext();
//        Object obj = ctx.lookup("ejb/UserBO");
//        UserBORemoteHome phome = (UserBORemoteHome) PortableRemoteObject.narrow(obj, UserBORemoteHome.class);
//        UserBORemote us=phome.create();
//        System.out.println(us.businessMethod());
//        }catch(Exception e){
//
//        }
    }

}
